package com.cowcowit.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cowcowit.springcloud.entity.Storage;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author whboy
 * @since 2025-09-23
 */
public interface StorageMapper extends BaseMapper<Storage> {
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
